/*
 *    Copyright (c) 2018-2025, proj All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the proj developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: proj
 */

package com.ykht.proj.activity.vo;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

/**
 * 购买卡和商铺关联表
 *
 * @author csg
 * @date 2021-05-21 14:22:31
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "使用门店")
public class CardShopDto extends Model<CardShopDto> {
private static final long serialVersionUID = 1L;

    /**
     * 
     */
    @ApiModelProperty(value="")
    private Long id;

    @ApiModelProperty(value="公司id")
    private Long companyId;

	@ApiModelProperty(value="公司名称")
	private String companyName;

    @ApiModelProperty(value="品牌id")
    private Long brandId;

	@ApiModelProperty(value="品牌名称")
	private String brandName;

	@ApiModelProperty(value="门店id")
	private Long shopId;

	@ApiModelProperty(value="店铺名称")
	private String shopName;

	@ApiModelProperty(value="省id")
	private Integer provinceId;

	@ApiModelProperty(value="省名称")
	private String provinceName;

	@ApiModelProperty(value="城市id")
	private Integer cityId;

	@ApiModelProperty(value="城市名称")
	private String cityName;

	@ApiModelProperty(value="区域id")
	private Integer areaId;

	@ApiModelProperty(value="区域名称")
	private String areaName;

	@ApiModelProperty(value="店铺地址")
	private String address;

    @ApiModelProperty(value="协议id")
    private Long agreementId;

    @ApiModelProperty(value="优惠方案id")
    private Long discountPlanId;

    @ApiModelProperty(value="折扣  90代表9折")
    private BigDecimal discount;

    @ApiModelProperty(value="最低消费金额")
    private BigDecimal lowMoney;

	@ApiModelProperty(value="会员卡ID（v_info）")
	private Long infoId;

	@ApiModelProperty(value="用户id")
	private Long personId;

	@ApiModelProperty(value="卡id")
	private Long cardId;

	@ApiModelProperty(value="活动id")
	private Long activityId;


    @ApiModelProperty(value="卡订单表id（v_order_card）")
    private Long orderCardId;


    @ApiModelProperty(value="创建人")
    private Long createUser;

    @ApiModelProperty(value="修改人")
    private Long updateUser;

    @ApiModelProperty(value="创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value="更新时间")
    private LocalDateTime updateTime;

    @ApiModelProperty(value="0可用1删除")
    private Integer delFlag;

    @ApiModelProperty(value="租户ID",hidden=true)
    private Integer tenantId;

    @ApiModelProperty(value="方案类型  0企业优惠  1活动优惠  (不传为全部)")
    private Integer planType;

	@ApiModelProperty(value="标签Id")
	private Long labelId;

	@ApiModelProperty(value="标签名")
	private String labelName;

	@ApiModelProperty(value="标签展示")
	private String labelNameShow;

    @ApiModelProperty(value="门店ID集合")
    private List<Long> shopIdList;

	@ApiModelProperty(value="分页对象")
	private Page page;
    }
